<%@ page language="java" pageEncoding="UTF-8" isErrorPage="true"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Error Page</title>
</head>
<body>
<h1>Error Page:<%=exception.getMessage() %></h1>
<h2><%=java.time.LocalDateTime.now() %></h2>
<pre>
<%
out.flush();
exception.printStackTrace(response.getWriter());
response.getWriter().flush();
%>
</pre>
</body>
</html>